{% extends 'news/base.html' %}

{% block titleBlock %}
    用户中心
{% endblock %}
{% block rank %}

{% endblock %}

{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/jquery.form.min.js"></script>
{% endblock %}

{% block contentBloc %}
<div class="conter_con">
		<div class="user_menu_con fl">
			<div class="user_center_pic">
                <img src="{% if data.user.avatar_url %} {{ data.user.avatar_url }} {% else %}../../static/news/images/person01.png{% endif %}"
                     class="lgin_pic">
			</div>
			<div class="user_center_name">{{ data.user.nick_name }}</div>

			<ul class="option_list">
				<li class="active"><a href="/user/base_info" target="main_frame">基本资料</a></li>
				<li><a href="/user/pic_info" target="main_frame">头像设置</a></li>
				<li><a href="/user/user_followed" target="main_frame">我的关注</a></li>
				<li><a href="/user/pass_info" target="main_frame">密码修改</a></li>
				<li><a href="/user/user_collect" target="main_frame">我的收藏</a></li>
				<li><a href="/user/user_release" target="main_frame">新闻发布</a></li>
				<li><a href="/user/user_news_list" target="main_frame">新闻列表</a></li>
			</ul>
		</div>

		<div class="user_con fr">
			<iframe src="/user/base_info" frameborder="0" name="main_frame" class="main_frame" id="main_frame"></iframe>
		</div>
	</div>
{% endblock %}

{% block rankBlock %}
{% endblock %}

{% block categoryBlock %}
{% endblock %}
